package earogya.pharmacy.pharmacy;

import java.sql.Date;
import java.sql.Time;

/*class ReceivedDrugs
 * 
 * contains the attributes considered when a drug is received to the pharmacy
 * 
 *  
 * */
public class ReceivedDrugs {
	
	private int receivedId;
	private int drugId;
	private int quantity;
	private Date receivedDate;
	private Time receivedTime;
	
	
	public ReceivedDrugs(){
		
	}
	
	public ReceivedDrugs(int drugid,int quantity){
		this.drugId = drugid;
		this.quantity = quantity;
	}
	
	public ReceivedDrugs(int drugid,int quantity, Date receivedDate, Time receivedTime){
		this.drugId = drugid;
		this.quantity = quantity;
		this.receivedDate = receivedDate;
		this.receivedTime = receivedTime;
	}
	
	public int getReceivedId(){
		return receivedId;
	}
	
	public void setReceivedId(int id){
		receivedId =id;
	}
	
	public void setDrugId(int did){
		drugId = did;
	}
	
	public int getDrugId(){
		return drugId;
	}
	
	public void setQuantity(int qunt){
		quantity = qunt;
	}
	
	public int getQuantity(){
		return quantity;
	}
	
	public void setReceivedDate(Date rdate){
		receivedDate = rdate;
	}
	
	public Date getReceivedDate(){
		return receivedDate;
	}
	
	public void setReceivedTime(Time rtime){
		receivedTime = rtime;
	}
	
	public Time getReceivedTime(){
		return receivedTime;
	}

}
